import { Module } from "@nestjs/common";
import { DicomServerController } from "./dicom-server.controller";
import { DicomServerService } from "./dicom-server.service";
import { DicomController } from "./dicom/dicom.controller";
import { WatchFileService } from "./watch-file/watch-file.service";
import { DicomService } from "./dicom/dicom.service";
import { WithGatewayModule } from "./micro/with-gateway/with-gateway.module";
import { configuration } from "../../../config/config";
import { EtcdModule } from "@app/etcd";

@Module({
  imports: [
    WithGatewayModule,
    EtcdModule.register(configuration.dicomServer.etcd_service_name),
  ],
  controllers: [DicomServerController, DicomController],
  providers: [DicomServerService, WatchFileService, DicomService],
})
export class DicomServerModule {}
